package com.aaa.entity.mht;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
@Table(name = "t_mht_sub")
@Data
public class TMhtSub implements Serializable {
    private static final long serialVersionUID = 795716211220167134L;
    @Id
    @Column(name = "id")
    private Integer id;

    @Column(name = "mhtno")
    //@ApiModelProperty(value = "试题编号")
    @ExcelProperty("编号") // excel里面的列的名字  编号 -》fpano
    private Integer mhtno;
    @Column(name = "mhtsub")
    //@ApiModelProperty(value = "试题编号")
    @ExcelProperty("题目") // 必须跟excel里面一模一样
    private String mhtsub;
    @ExcelProperty("是")
    @Column(name = "xxt")
    //@ApiModelProperty(value = "选项a")
    private String xxt;

    @ExcelProperty("否")
    @Column(name = "xxf")
    //@ApiModelProperty(value = "选项b")
    private String xxf;

}
